﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Vegetable.Model
{
    /// <summary>
    /// 表2蔬菜设施情况表T_VegFacility查询条件
    /// </summary>
    public class VegFacilityQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 设施蔬菜占地面积
        /// </summary>
        public decimal? FacilitiesArea { get; set; }
        /// <summary>
        /// 小棚蔬菜占地面积
        /// </summary>
        public decimal? SmallArea { get; set; }
        /// <summary>
        /// 大中棚蔬菜占地面积
        /// </summary>
        public decimal? BigArea { get; set; }
        /// <summary>
        /// 温室蔬菜占地面积
        /// </summary>
        public decimal? GreenhouseArea { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 备用1
        /// </summary>
        public string Column1 { get; set; }
        /// <summary>
        /// 备用2
        /// </summary>
        public string Column2 { get; set; }
        /// <summary>
        /// 备用3
        /// </summary>
        public string Column3 { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }


    public class VegFacilityViewModel
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 设施蔬菜占地面积
        /// </summary>
        public decimal? FacilitiesArea { get; set; }
        /// <summary>
        /// 小棚蔬菜占地面积
        /// </summary>
        public decimal? SmallArea { get; set; }
        /// <summary>
        /// 大中棚蔬菜占地面积
        /// </summary>
        public decimal? BigArea { get; set; }
        /// <summary>
        /// 温室蔬菜占地面积
        /// </summary>
        public decimal? GreenhouseArea { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 备用1
        /// </summary>
        public string Column1 { get; set; }
        /// <summary>
        /// 备用2
        /// </summary>
        public string Column2 { get; set; }
        /// <summary>
        /// 备用3
        /// </summary>
        public string Column3 { get; set; }
        /// <summary>
        /// 报表状态
        /// </summary>
        public string ReportStatus { get; set; }
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string OldId { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string OldReportId { get; set; }
        /// <summary>
        /// 设施蔬菜占地面积
        /// </summary>
        public decimal? OldFacilitiesArea { get; set; }
        /// <summary>
        /// 小棚蔬菜占地面积
        /// </summary>
        public decimal? OldSmallArea { get; set; }
        /// <summary>
        /// 大中棚蔬菜占地面积
        /// </summary>
        public decimal? OldBigArea { get; set; }
        /// <summary>
        /// 温室蔬菜占地面积
        /// </summary>
        public decimal? OldGreenhouseArea { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string OldRemark { get; set; }
        /// <summary>
        /// 备用1
        /// </summary>
        public string OldColumn1 { get; set; }
        /// <summary>
        /// 备用2
        /// </summary>
        public string OldColumn2 { get; set; }
        /// <summary>
        /// 备用3
        /// </summary>
        public string OldColumn3 { get; set; }
        /// <summary>
        /// 上一年报表状态
        /// </summary>
        public string OldReportStatus { get; set; }
    }

    public class VegFacilityModel
    {
        public string year { get; set; }
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 设施蔬菜占地面积
        /// </summary>
        public decimal? FacilitiesArea { get; set; }
        /// <summary>
        /// 小棚蔬菜占地面积
        /// </summary>
        public decimal? SmallArea { get; set; }
        /// <summary>
        /// 大中棚蔬菜占地面积
        /// </summary>
        public decimal? BigArea { get; set; }
        /// <summary>
        /// 温室蔬菜占地面积
        /// </summary>
        public decimal? GreenhouseArea { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 备用1
        /// </summary>
        public string Column1 { get; set; }
        /// <summary>
        /// 备用2
        /// </summary>
        public string Column2 { get; set; }
        /// <summary>
        /// 备用3
        /// </summary>
        public string Column3 { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
    public class VegFacilityStatsModel
    {
        /// <summary>
        /// 年份
        /// </summary>
        public string FillInYear { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string AreaCode { get; set; }
        public string AreaName { get; set; }
        /// <summary>
        /// 设施蔬菜占地面积
        /// </summary>
        public decimal? FacilitiesArea { get; set; }
        /// <summary>
        /// 小棚蔬菜占地面积
        /// </summary>
        public decimal? SmallArea { get; set; }
        /// <summary>
        /// 大中棚蔬菜占地面积
        /// </summary>
        public decimal? BigArea { get; set; }
        /// <summary>
        /// 温室蔬菜占地面积
        /// </summary>
        public decimal? GreenhouseArea { get; set; }
        /// <summary>
        /// 设施蔬菜占地面积
        /// </summary>
        public decimal? OldFacilitiesArea { get; set; }
        /// <summary>
        /// 小棚蔬菜占地面积
        /// </summary>
        public decimal? OldSmallArea { get; set; }
        /// <summary>
        /// 大中棚蔬菜占地面积
        /// </summary>
        public decimal? OldBigArea { get; set; }
        /// <summary>
        /// 温室蔬菜占地面积
        /// </summary>
        public decimal? OldGreenhouseArea { get; set; }
    }
}
